
import 'package:flutter/material.dart';

import '../../entity/profile/my_user_info_entity.dart';
import '../../network/base_entity.dart';
import '../../network/http_manager.dart';
import '../../utils/navigator_util.dart';


class ViewSearcherModel extends ChangeNotifier {
  List<String> tabs = ["视频","图文"];
  TabController? tabController;
  int currentIndex = 0;
  MyUserInfoEntity? entity;

  WebSocketManager() {}
  ViewSearcherModel({required TickerProvider vsync}) {
    tabController = TabController(initialIndex: currentIndex, length: tabs.length, vsync: vsync);

  }


  void video(BuildContext context) {
    // NavigatorUtil.push(context,  VideoPage(suggestionSearchEntityList:null,searchValue: null,));
  }

  void imageText(BuildContext context) {
    // NavigatorUtil.push(context,  ImageTextPage(searchValue: null));
  }

  }
